Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub Actions: Convert '_' to '-' in $AWS_ECS_CLUSTER_NAME #10023

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

dumbbell
Copy link
Member

@dumbbell dumbbell commented Dec 1, 2023

Why

The AWS ECS cluster name must match the regex [a-zA-Z][-a-zA-Z0-9]*. Underscores are forbidden.

How

Like '.' was converted, we convert '_' to '.' using Bash parameter expansion.

[Why]
The AWS ECS cluster name must match the regex `[a-zA-Z][-a-zA-Z0-9]*`.
Underscores are forbidden.

[How]
Like '.' was converted, we convert '_' to '.' using Bash parameter
expansion.
@dumbbell dumbbell marked this pull request as ready for review December 1, 2023 15:03
@dumbbell dumbbell merged commit 12123b5 into main Dec 1, 2023
17 checks passed
@dumbbell dumbbell deleted the convert-underscores-in-AWS_ECS_CLUSTER_NAME branch December 1, 2023 15:03
michaelklishin added a commit that referenced this pull request Dec 1, 2023
GitHub Actions: Convert '_' to '-' in `$AWS_ECS_CLUSTER_NAME` (backport #10023)
michaelklishin added a commit that referenced this pull request Dec 1, 2023
GitHub Actions: Convert '_' to '-' in `$AWS_ECS_CLUSTER_NAME` (backport #10023) (backport #10024)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants